Fix bug #9610 with slow cursor motion in buffers with invisible text.
authorEli Zaretskii <eliz@gnu.org>
Tue, 27 Sep 2011 17:18:31 +0000 (20:18 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 27 Sep 2011 17:18:31 +0000 (20:18 +0300)
commit6d194027d09a12fe2342814e38cdb5f9cb695861
treea0dffba1202558221b1a67ddef834d3b61514dee
parent6de459f21566eb347bdcf1917f963c3451bb5b99
Fix bug #9610 with slow cursor motion in buffers with invisible text.

 src/xdisp.c (handle_invisible_prop): If invisible text ends on a
 newline, reseat the iterator instead of bidi-iterating there one
 character at a time.  (Bug#9610)
 (BUFFER_POS_REACHED_P, move_it_in_display_line_to): Bail when past
 TO_CHARPOS if the bidi iterator is at base embedding level.
src/ChangeLog
src/xdisp.c